Give a more useful error if cvxopt is not found
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Tue, 4 Feb 2020 00:34:03 +0000 (00:34 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 4 Feb 2020 00:34:03 +0000 (00:34 +0000)
commitb7e666378d7ce726f82269a65dcf905b68174e7b
treee51d7d400325b8d33702a8435dc9e7b386742b7e
parent57223e28e4832e4db6d83556e487ed2915efeb43
Give a more useful error if cvxopt is not found

message wasn't actually passed to anything, so it previously failed at
statsmodels/base/optimizer.py:13 (_check_method) with
"Unknown fit method l1_cvxopt_cp"

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: accepted https://github.com/statsmodels/statsmodels/pull/6163

Gbp-Pq: Name show_cvxopt_error.patch
statsmodels/discrete/discrete_model.py